#!/usr/bin/env bash

SERVER_LIST="172.22.32.106 172.22.32.107 172.22.32.108 172.22.32.109 172.22.32.110 172.22.32.111 172.22.32.112 172.22.32.113"
for SERVER in ${SERVER_LIST}; do
    echo "current server is $SERVER"
    ssh ${SERVER} "sudo chmod 777 /data"
done